import { NavService } from './nav-service.service';
import { Component, OnDestroy, OnInit } from '@angular/core';
import { faBars, faBook, faBuilding, faCogs, faCubes, faFileCode, faMap, faNewspaper, faUserCog, faUsersCog } from '@fortawesome/free-solid-svg-icons';
import { Subscription } from 'apollo-angular';
import { navMenus } from './nars-menus';

@Component({
  selector: 'app-nars',
  templateUrl: './nars.component.html',
  styleUrls: ['./nars.component.scss']
})
export class NarsComponent implements OnInit, OnDestroy {


  collapsed = false;


  faUserCog = faUserCog;
  faUsersCog = faUsersCog;
  faCogs = faCogs;
  faNewspaper = faNewspaper;
  faCubes = faCubes;
  faBars = faBars;
  faFileCode = faFileCode;
  faBook = faBook;
  faMap = faMap;
  faBuilding = faBuilding;

  menus = navMenus;
  navLabels!: string[];
  private navLablesSubs!: Subscription;
  constructor(
    private nav: NavService
  ) { }
  ngOnDestroy(): void {
    if (this.navLablesSubs) {
    }
  }

  ngOnInit(): void {

  }

}
